package sk.muf.mufpong;

import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity {
    MainView mainView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mainView = new MainView(this);
        setContentView(mainView);
    }

    @Override
    public void onPause() {
        super.onPause();
        if (mainView != null) mainView.onPause();
    }

    @Override
    public void onResume() {
        super.onResume();
        if (mainView != null) mainView.onResume();
    }
}
